package com.mall.dao.custom;

import com.mall.dao.generator.UserMapper;
import com.mall.entity.User;

/**
 * @author xyl
 * @date 2021-02-08 17:23
 */
public interface CtUserMapper extends UserMapper {
    /**
     * 根据用户名查询用户 , 用户名就是
     * @param email
     * @return
     */
    User selectByEmail(String email);


    int updatePasswordByMail(String mail, String password);

}
